@import './variables.scss';
@import './mixin.scss';
@import './transition.scss';
@import './element-ui.scss';
@import './sidebar.scss';

body {
  height: 100%;
  -moz-osx-font-smoothing: grayscale;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-family: Helvetica Neue, Helvetica, PingFang SC, Hiragino Sans GB, Microsoft YaHei, Arial, sans-serif;
}

label {
  font-weight: 700;
}

html {
  height: 100%;
  box-sizing: border-box;
}

#app {
  height: 100%;
}

*,
*:before,
*:after {
  box-sizing: inherit;
}

a:focus,
a:active {
  outline: none;
}

a,
a:focus,
a:hover {
  cursor: pointer;
  color: inherit;
  text-decoration: none;
}

div:focus {
  outline: none;
}
.flex{
  display:flex;
  align-items: center;
}

.clearfix {
  &:after {
    visibility: hidden;
    display: block;
    font-size: 0;
    content: " ";
    clear: both;
    height: 0;
  }
}

.mt20{margin-top: 20px;}
.mb20{margin-bottom: 20px;}
.tc{text-align: center;}
// 滚动条样式
::-webkit-scrollbar {
  width: 8px;
  background-color: #f5f5f5;
  position: absolute;
  
}
::-webkit-scrollbar-thumb {
  background-color: #999;
  border-radius: 8px;
}
::-webkit-scrollbar-track {
  box-shadow: inset 0 0 1px hsla(0,0%,39%,.3);
  -webkit-box-shadow: inset 0 0 1px hsla(0,0%,39%,.3);
  background-color: #f5f5f5;
}

// 搜索条样式
.search-box{
  position: relative;
  padding: 20px 20px 0;
  background: #fff;
  border-radius: 10px;
  .search-right-btn{
    position: absolute;
    right: 20px;
    top: 20px;
  }
}

// 表格样式
.table-box{
  margin-top: 20px;
}